#ifndef _MAPMANAGER_
#define	_MAPMANAGER_

#include "MapLoader.hpp"
#include "pugixml.hpp"

#pragma pack(push, 1)

class MapManager:public MapLoader{
public:
    
    static void saveMap(Map* map, RegionManager* regionManager);
    static bool loadRawMap(string fileName, Map** map, RegionManager* regionManager, SpriteManager* sprites);
    static void saveRawMap(Map* map, RegionManager* regionManager, SpriteManager* sprites);
};

#pragma pack(pop)

#endif

